package guda.house.biz;

import guda.house.biz.form.RoleResourceRelForm;
import guda.house.dal.dataobject.RoleDO;
import guda.grape.autogen.common.page.BaseQuery;
import guda.grape.autogen.common.page.BizResult;

import java.util.List;

public interface RoleBiz {

        BizResult detail(long id);

        BizResult list(BaseQuery baseQuery);

        BizResult delete(long id);

        BizResult create(RoleDO roleDO);

        BizResult update(RoleDO roleDO);

        BizResult loadAllResource(Long roleId);

        BizResult bindResource(RoleResourceRelForm roleResourceRelForm);


}
